EMT Practice Test
1. Question Content...
Question2: Check nodes which are ready and print it to a file /opt/nodestatus
Question5: Create a secret mysecret with values user=myuser and password=mypassword
Question6: Get all the pods with label "env"
Question11: Deploy a pod with image=redis on a node with label disktype=ssd
Question12: Scale the deployment from 5 replicas to 20 replicas and verify
Question15: Modify "hello-job" and make it run 10 times one after one and 5 times parallelism: 5
Question18: Get list of PVs and order by size and write to file - /opt/pvlist.txt
Question19: Verify certificate expiry date for ca certificate in /etc/kubernetes/pki
Question20: Resume the rollout of the deployment
Question21: Install a kubernetes cluster with one master and one worker using kubeadm
Question25: Create a nginx pod that will be deployed to node with the label
"gpu=true"
Question26: Pause the rollout of the deployment
Question28: Fix a node that shows as non-ready
Question29: Label a node as app=test and verify
Question31: Evict all existing pods from a node-1 and make the node unschedulable for new pods.
Question32: Print pod name and start time to "/opt/pod-status" file
Question33: Check the Image version of nginx-dev pod using jsonpath
Question34: Create a Pod nginx and specify a CPU request and a CPU limit of 0.5 and 1 respectively.
Question36: List the nginx pod with custom columns POD_NAME and POD_STATUS
Question37: Get the number of schedulable nodes and write to a file
/opt/schedulable-nodes.txt
Question38: Get the pods with labels env=dev and env=prod and output the labels as well